package com.ftg.learn.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述
 *
 * @author 布衣
 * @date 2025/8/27
 */
@Mapper
public interface SysUserRoleMapper {

    @Delete("delete from sys_user_role where role_id = #{roleId}")
    Integer deleteByRoleId(@Param("roleId") long roleId);


    Integer deleteByRoleIds(List<Long> roleId);

}
